<h1>Editing conference</h1>

<%= error_messages_for :conference %>

<% form_for(@conference) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Description</b><br />
    <%= f.text_area :description %>
  </p>

  <p>
    <b>Venue</b><br />
    <%= f.text_field :venue %>
  </p>

  <p>
    <b>City</b><br />
    <%= f.text_field :city %>
  </p>

  <p>
    <b>Country</b><br />
    <%= f.text_field :country %>
  </p>

  <p>
    <b>Price</b><br />
    <%= f.text_field :price %>
  </p>

  <p>
    <b>Url</b><br />
    <%= f.text_field :url %>
  </p>

  <p>
    <b>Starts at</b><br />
    <%= f.date_select :starts_at %>
  </p>

  <p>
    <b>Ends at</b><br />
    <%= f.date_select :ends_at %>
  </p>

  <p>
    <b>Proposals at</b><br />
    <%= f.date_select :proposals_at %>
  </p>

  <p>
    <b>Signup at</b><br />
    <%= f.date_select :signup_at %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @conference %> |
<%= link_to 'Back', conferences_path %>
